package com.baway.home.model

import com.chad.library.adapter.base.entity.MultiItemEntity

data class MsgResult(
    val accessId: String,
    val id: Int,
    val messageContent: String,
    val messageStatus: String,
    val messageType: String,
    val sendTime: String,
    val userId: Int
): MultiItemEntity {
    override val itemType: Int
        get() = if (messageStatus.equals("已读")) 0 else 1
}
